package com.edais.util;
/**
 * 公共常量类
 * @author ZuoJun
 * @date 2016-7-12 17:08
 *
 */
public class CommonConstant {
	
	/**
	 * 当前页数标识
	 */
	public static final String CURRENT = "current";
	
	/**
	 * 页面大小标识
	 */
	public static final String PAGE_SIZE = "pageSize";
	
	/**
	 * 成功状态码
	 */
	public static final String SUCCESS_CODE = "00000";
	
	/**
	 * 参数校验状态码
	 */
	public static final String PARAMETER_CHECK_CODE = "00001";
	
	/**
	 * 业务处理错误状态码
	 */
	public static final String TRANSACTION_ERROR_CODE = "00004";
	
	/**
	 * 错误状态码
	 */
	public static final String ERROR_CODE = "00003";
	
	/**
	 * 响应状态码标识
	 */
	public static final String RES_CODE = "rescode";
	
	/**
	 * 响应描述标识
	 */
	public static final String RES_MSG = "resmsg";
	
	/**
	 * 响应中文描述标识
	 */
	public static final String RES_MSG_CN = "resmsg_cn";
	
	/**
	 * 响应列表标识
	 */
	public static final String LIST = "list";
	
	/**
	 * 响应总条数标识
	 */
	public static final String TOTAL_NUM = "totalNum";
	
	/**
	 * 响应列表大小标识
	 */
	public static final String LIST_SIZE = "listSize";
	
	/**
	 * 成功响应描述
	 */
	public static final String SUCCESS_DESC = "success";
	
	/**
	 * 成功响应中文描述
	 */
	public static final String SUCCESS_DESC_CN = "处理成功!";
	
	/**
	 * 失败响应描述
	 */
	public static final String FAIL_DESC = "fail";
	
	/**
	 * 失败响应中文描述
	 */
	public static final String FAIL_DESC_CN = "处理失败!";
	
	/**
	 * userId为空
	 */
	public static final String USER_ID_IS_NULL = "userId为空!";
	
	/**
	 * 网络或服务器连接异常
	 */
	public static final String NETWORK_ANOMALOUS_ERROR = "网络或服务器连接异常,请稍后再试!";
	
	/**
	 * 消息类别为空
	 */
	public static final String MESSAGE_TYPE_IS_NULL = "消息类别为空!";
	
}
